package org.copper.ui.events
{
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	import org.copper.ui.CSprite;
	

	public final class MouseOverGraphicContentEvent extends Event
	{
		public static const TYPE:String = "org.copper.ui.events.MouseOverGraphicContentEvent";
		
		private var m_originalEvent:MouseEvent;
		private var m_dispatchingSprite:CSprite;
		
		public function MouseOverGraphicContentEvent(OriginalEvent:MouseEvent, DispatchingSprite:CSprite)
		{
			super(TYPE);
			m_originalEvent = OriginalEvent;
			m_dispatchingSprite = DispatchingSprite;
		}

		public function get dispatchingSprite():CSprite
		{
			return m_dispatchingSprite;
		}

		public function get originalEvent():MouseEvent
		{
			return m_originalEvent;
		}
		
		override public function clone():Event
		{
			return new MouseOverGraphicContentEvent(m_originalEvent, m_dispatchingSprite);
		}
	}
}